package com.baike.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lbs
 * @since 2021-10-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_lesson_catalogue")
@ApiModel(value="TbLessonCatalogue对象", description="")
public class TbLessonCatalogue implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "目录ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "课程ID")
    private Long lessonId;

    @ApiModelProperty(value = "目录父ID")
    private Long pid;

    @ApiModelProperty(value = "目录名称")
    private String catalogueName;

    @ApiModelProperty(value = "视频地址")
    private String videoUrl;

    @ApiModelProperty(value = "视频时长 毫秒")
    private Long videoLength;


}
